<template>
  <div>
    <div>
      <span>姓名:</span>
      <input type="text" v-model="full" />
    </div>
  </div>
</template>

<script>
/* computed: {
    "属性名": {
        set(值){    
        },
        get() {
            return "值"
        }
    }
} */
export default {
  computed: {
    full: {
      set(val) {
        console.log(val);
      },
      get() {
        return "aa";
      },
    },
  },
};
</script>

<style>
</style>